﻿
@{
    ViewBag.Title = "考勤表";
    Layout = "~/Views/Shared/_LayoutDateUserCorS.cshtml";
}
 
    <script type="text/javascript">
        $(document).ready(function () {
            $(":button").click(function () {
                $.get("/Px/PxKqGet", {
                    startDate: $("#StartDate").val(),
                    endDate: $("#EndDate").val(),
                    corSId: $("#CorSId").val(),
                    userId: $("#UserId").val(),
                    searchFlag: $("#SearchFlag").val()
                },
                    function (data, status) {
                        if (status == "success") {
                            $("#tableDetail").html(data);
                        }
                        else {
                            alert("远程服务器连接失败");
                        }
                    });
            });
        });
    </script> 